<template>
	<div id="app">
		<!--顶部-->
		<header class="mui-bar mui-bar-nav">
    <a class="mui-action-back mui-icon   mui-pull-left arr_left"></a>
    <h1 class="mui-title">设置</h1>
  </header>




		<div class="my_content mui-content">
			<div class="my_lie">
				<ul>
					<li class="my_lie_li">
						<div class="my_li_left my_li_left1">
							<h4>检查更新</h4>
						</div>
						<div class="my_li_right">
							<i></i>
						</div>
					</li>
					<li class="my_lie_li"  data-href='feedback.html'>
						<div class="my_li_left my_li_left1">
							<h4>意见反馈</h4>
						</div>
						<div class="my_li_right">
							<i></i>
						</div>
					</li>
					<li class="my_lie_li">
						<div class="my_li_left my_li_left3">
							<h4>帮助中心</h4>
						</div>
						<div class="my_li_right">
							<i></i>
						</div>
					</li>
					<li class="my_lie_li" @tap="onderurl('/my/my_about','',0)">
						<div class="my_li_left my_li_left4">
							<h4>关于我们</h4>
						</div>
						<div class="my_li_right">
							<i></i>
						</div>
					</li>
				</ul>
				<div class="my_butn" @tap="login_out"><button id="button">退出登录</button></div>
			</div>
		</div>
	</div>
</template>

<script>
import localstorage from "../../tools/localstorage";

export default {
	name:'setup',
	data(){
		return{

		};
	},
	methods:{
		onderurl:function(url,val,type){
			if(type == 1){
				this.$router.push({path:url,query: { queryId:  val }});
			}else{
				this.$router.push(url);
			}
		},
    login_out(){
		  mui.confirm('确定退出吗','温馨提示',['确定','取消'],e=>{
		    console.log(e)
        if(e.index==0){
		      window.localStorage.clear();
		      this.$store.commit("up_data_user","")
          this.$store.commit("up_data_community",null)

		      this.$router.go(-1)
        }
      })
    }
	},
	mounted(){

	},
    components:{

    }
}
</script>
<style lang="less" scoped>
@import "../../../static/pxvalue.less";
@import "../../assets/less/my/setup.less";
</style>
